package com.epam.newsmanagement.presentation.form;

import java.util.List;

import org.apache.struts.action.ActionForm;

import com.epam.newsmanagement.model.News;


public final class NewsForm extends ActionForm{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1268821519915513157L;
	private News news = new News();
	private String dateString;
	private List<News> newsList;
	private Integer[] selectedNews;
	private int currentNewsId;
	private String cancelPath;
	private String currentPagePath;
	private String language;
	public News getNews() {
		return news;
	}
	public void setNews(News news) {
		this.news = news;
	}
	public List<News> getNewsList() {
		return newsList;
	}
	public void setNewsList(List<News> newsList) {
		this.newsList = newsList;
	}
	public Integer[] getSelectedNews() {
		return selectedNews;
	}
	public void setSelectedNews(Integer[] selectedNews) {
		this.selectedNews = selectedNews;
	}
	public String getDateString() {
		return dateString;
	}
	public void setDateString(String dateString) {
		this.dateString = dateString;
	}
	public String getCancelPath() {
		return cancelPath;
	}
	public void setCancelPath(String cancelPath) {
		this.cancelPath = cancelPath;
	}
	public void setCurrentPagePath(String currentPagePath) {
		this.currentPagePath = currentPagePath;
	}
	public String getCurrentPagePath() {
		return currentPagePath;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getLanguage() {
		return language;
	}
	public int getCurrentNewsId() {
		return currentNewsId;
	}
	public void setCurrentNewsId(int currentNewsId) {
		this.currentNewsId = currentNewsId;
	}
	
}